﻿using System;
using System.Collections;
using System.Collections.Generic;

using ZQNB.Entity.Ds;

namespace ZQNB.BaseLib.Ds
{
    public interface IOrgService
    {
        /// <summary>
        /// 批量导入组织
        /// </summary>
        void ImportOrgs(IList<Org> orgs);

        /// <summary>
        /// 创建组织
        /// </summary>
        /// <returns></returns>
        void CreateOrg(Org org);

        /// <summary>
        /// 修改组织
        /// </summary>
        /// <param name="org"></param>
        void UpdateOrg(Org org);

        /// <summary>
        /// 删除组织
        /// </summary>
        /// <param name="orgId"></param>
        void DeleteOrg(Guid orgId);
    }
}